import { request } from "@/utils/request";

// 互联网医院健康卡添加
export const addHealthCard = (data) =>
  request.post(`/patient/addHealthCard`, data);

// 互联网医院健康卡更新
export const updateHealthCard = (data) =>
  request.post(`/patient/updateHealthCard`, data);

// 患者详情
export const patientDetail = (data) => request.post(`/patient/detail`, data);

// 发送验证码
export const sendCode = (data) => request.post(`/platCaptcha/send`, data);
